package com.hengtuo.vo;

import com.thoughtworks.xstream.annotations.XStreamAlias;

/**
 * 摇一摇
 */

@XStreamAlias("oschina")

public class Shark {

    private int randomtype;
    private String id;
    private String title;
    private String detail;
    private String author;
    private String authorid;
    private String image;
    private String pubDate;
    private int commentCount;
    private String url;

    public Shark() {
    }

    public Shark(int randomtype, String id, String title, String detail, String author, String authorid, String image, String pubDate, int commentCount, String url) {
        this.randomtype = randomtype;
        this.id = id;
        this.title = title;
        this.detail = detail;
        this.author = author;
        this.authorid = authorid;
        this.image = image;
        this.pubDate = pubDate;
        this.commentCount = commentCount;
        this.url = url;
    }

    public int getRandomtype() {
        return randomtype;
    }

    public void setRandomtype(int randomtype) {
        this.randomtype = randomtype;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getAuthorid() {
        return authorid;
    }

    public void setAuthorid(String authorid) {
        this.authorid = authorid;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public String getPubDate() {
        return pubDate;
    }

    public void setPubDate(String pubDate) {
        this.pubDate = pubDate;
    }

    public int getCommentCount() {
        return commentCount;
    }

    public void setCommentCount(int commentCount) {
        this.commentCount = commentCount;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    @Override
    public String toString() {
        return "Shark{" +
                "randomtype=" + randomtype +
                ", id='" + id + '\'' +
                ", title='" + title + '\'' +
                ", detail='" + detail + '\'' +
                ", author='" + author + '\'' +
                ", authorid='" + authorid + '\'' +
                ", image='" + image + '\'' +
                ", pubDate='" + pubDate + '\'' +
                ", commentCount=" + commentCount +
                ", url='" + url + '\'' +
                '}';
    }
}
